package cn.appsys.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.appsys.biz.DictionaryBiz;
import cn.appsys.dao.DictionaryDao;
import cn.appsys.entity.DataDictionary;


@Service("dictionaryBiz")
public class DictionaryBizImpl implements DictionaryBiz {

	@Autowired
	private DictionaryDao dictionaryDao;
	
	public List<DataDictionary> getByStatus() {
		
		return dictionaryDao.getByStatus();
	}

	public List<DataDictionary> getByFlatform() {
		
		return dictionaryDao.getByFlatform();
	}

	public String getByIdVersionStatus(int id) {
		// TODO Auto-generated method stub
		return dictionaryDao.getByIdVersionStatus(id);
	}
	
}
